projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac0ed81
)
Plug a memory leak in Xrandr code
author
Caolan McNamara
<caolanm@redhat.com>
Sat, 30 May 2009 04:05:35 +0000
(
00:05
-0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 30 May 2009 04:05:35 +0000
(
00:05
-0400)
gdk/x11/gdkscreen-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkscreen-x11.c
b/gdk/x11/gdkscreen-x11.c
index a2eaceaf3ae24863f5369aeb411dc36ac2839e2b..cbf093000536b2729d7ecd7c7d030317112462a8 100644
(file)
--- a/
gdk/x11/gdkscreen-x11.c
+++ b/
gdk/x11/gdkscreen-x11.c
@@
-736,7
+736,10
@@
init_randr13 (GdkScreen *screen)
randr12_compat |= !g_strcmp0(output->name, "default");
if (output->connection == RR_Disconnected)
- continue;
+ {
+ XRRFreeOutputInfo (output);
+ continue;
+ }
if (output->crtc)
{